#ifndef OS_LIB_H
#define OS_LIB_H

#include "os_types.h"
#include "os_def.h"

#if OS_LIB_USE_OWN
void * os_memset (void * mem, int v, int count);
void * os_memcpy (void * dest, const void * src, int count);
char * os_strncpy (char *dest, const char *src, int size);

void os_plat_putc (char c);

void os_printf (const char * fmt, ...);
#else
#include <stdio.h>
#include <string.h>
#define os_memset       memset
#define os_memcpy       memcpy
#define os_printf       printf
#endif

#endif
